package com.ai.nsa;

/**
 * @author Feng Chen 2017/6/8.
 */
public abstract class NSAConstants {

    private NSAConstants() {

    }


    // TABLE

    public static final String HBASE_MASTER_TABLE = "TRADE_BASIC";

    public static final String HBASE_SLAVE_TABLE_MKT = "TRADE_MKT";

    public static final String HBASE_SLAVE_TABLE_PRODUCT = "TRADE_PRODUCT";

    public static final String HBASE_SLAVE_TABLE_ITEGRAL = "TRADE_ITEGRAL";

    public static final String HBASE_SLAVE_TABLE_BANK_CHARGE = "TRADE_BANK_CHARGE";

    public static final String HBASE_SLAVE_TABLE_NOHALT = "TRADE_NOHALT";

    public static final String HBASE_SLAVE_TABLE_OPTLOG = "TRADE_OPTLOG";

    public static final String HBASE_SLAVE_TABLE_WEBTRACE = "TRADE_WEBTRACE";

    public static final String HBASE_SLAVE_TABLE_LOGIN = "TRADE_LOGIN";

    public static final String HBASE_SLAVE_TABLE_FOCUS = "TRADE_FOCUS";

    public static final String HBASE_FAMILY = "F";

    // COLUMN

    public static final String COLUMN_SERIAL_NUMBER = "SERIAL_NUMBER";

    public static final String COLUMN_IN_MODE_CODE = "IN_MODE_CODE";

    public static final String COLUMN_INTERACT_TYPE = "INTERACT_TYPE";

    public static final String COLUMN_ACCEPT_DATE = "ACCEPT_DATE";

    public static final String COLUMN_TRADE_DATE = "TRADE_DATE";

    public static final int SERIAL_LENGTH = 7;

    public static final int PARTITION_LENGTH = 2;

    public static final int SERIAL_NUMBER_LENGTH = 11;

    public static final int TRADE_DATE_LENGTH = 8;


    public static final int ROWKEY_LENGTH = 2;

    public static final String ROWKEY_PAD = "0";

    public static final String UNDERLINE = "_";




}
